package com.dushan.boot.service.impl;

import com.dushan.boot.common.pojo.PageResult;
import com.dushan.boot.domain.MemberExperienceRecordDO;
import com.dushan.boot.domain.vo.MemberExperienceRecordPageReqVO;
import com.dushan.boot.mapper.MemberExperienceRecordMapper;
import com.dushan.boot.service.IMemberExperienceService;
import org.springframework.stereotype.Service;
import org.springframework.validation.annotation.Validated;

import javax.annotation.Resource;

/**
 * @Author：朗朗乾坤
 * @Package：com.dushan.boot.service.impl
 * @Project：DuShanHui
 * @name：IMemberExperienceServiceImpl
 * @Date：2024/1/24 18:10
 * @Filename：IMemberExperienceServiceImpl
 */
@Service
@Validated
public class MemberExperienceServiceImpl implements IMemberExperienceService {

    @Resource
    private MemberExperienceRecordMapper experienceLogMapper;

    @Override
    public PageResult<MemberExperienceRecordDO> getExperienceRecordPage(MemberExperienceRecordPageReqVO pageReqVO) {
        MemberExperienceRecordPageReqVO mVo = new MemberExperienceRecordPageReqVO();
        mVo.setUserId(111L);
        return experienceLogMapper.selectPage(pageReqVO);
    }

}
